<template>
	<view class="redCode">
		<view class="item">
			兑换号码
		</view>
		<view class="item">
			<u-code-input v-model="value1" :maxlength="6"></u-code-input>
		</view>
		<view class="item">
			兑换码密码
		</view>
		<view class="item">
			<u-code-input v-model="value1" :maxlength="6"></u-code-input>
		</view>
		<view class="item">
			<u-button class="custom-style" text="完成兑换" customStyle="background-color: #2CB9A4;color: #fff;width: 70%;border-radius: 30px;margin-top: 30rpx;" @click="submit"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value1: ''
			}
		},
		methods: {

		}
	}
</script>
<style>
	page {
		background: #f5f5f5;
	}
</style>
<style lang="scss" scoped>
	.redCode {
		display: flex;
		justify-content: flex-start;
		padding: 40rpx;
		color: #2CB9A4;
		flex-direction: column;
		background: #fff;
		margin: 40rpx;
		border-radius: 25rpx;

		.item {
			margin-top: 30rpx;
		}

	}
</style>